﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace DataSetGenTest
{
    internal static class ConnectionFactory
    {
        public static SqlConnection GetConnection()
        {
            SqlConnection cnn = new SqlConnection("Data Source=.;Initial Catalog=Northwind;Persist Security Info=True;User ID=sa; MultipleActiveResultSets=True");
            cnn.Open();
            return cnn;
        }
    }
}
